/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.xinxi.dms.service;

import com.xinxi.dms.po.Admin;
import java.util.List;

/**
 *
 * @author zhigu
 */
public interface IAdminService {
    //登陆方法 login
    public Admin login(String name,String password);
    
    public boolean into(Admin admin);
    
    public List<Admin> findAll();
    
    public boolean update(Admin admin);
    
    public boolean delete(Integer id);
}
